package cn.edu.zucc.JavaChat.Response;

import java.util.Date;

public class MessageResponse extends Response {
	
	private static final long serialVersionUID = 1804453629435474936L;
	
	private String fromUsername;
	//private String toUsername;
	private Date sendTime;
	private String msText;
	
	public String getFromUsername() {
		return fromUsername;
	}
	public void setFromUsername(String fromUsername) {
		this.fromUsername = fromUsername;
	}

	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public String getMsText() {
		return msText;
	}
	public void setMsText(String msText) {
		this.msText = msText;
	}
	@Override
	public String toString(){
		return "fromUsername:" + fromUsername 
				+ ",toUsername:" + toUsername
				+ ",msText:" + msText
				+ ",sendTime:" + sendTime;
	}

}
